package com.speed.printer;

public class UserInfor {
	private long uId;
	/*** 姓名 **/
	private String uName="";
	/*** mobile电话 **/
	private String mobile;
	/*** 座位号 */
	private String seatNO;
	/**** 职务 */
	private String job;
	/*** 公司名 */
	private String company;
	/*** 签到时间 */
	private String signTime;
	/****apiurl*/
	private String apiUrl;
	/***是否签到0未签到，1是签到*/
	private String isSign;
	/***二维码编号*/
	private String codenum;
	
	public UserInfor(){}
	
	public UserInfor(long uId,String uName, String mobile, String seatNO, String job,String company, String signTime, String apiUrl) {
		this.uId=uId;
		this.uName = uName;
		this.mobile = mobile;
		this.seatNO = seatNO;
		this.job = job;
		this.company = company;
		this.signTime = signTime;
		this.apiUrl = apiUrl;
	}
	
	public UserInfor(String uName, String mobile, String seatNO, String job,String company, String isSign, String codenum) {
		super();
		this.uName = uName;
		this.mobile = mobile;
		this.seatNO = seatNO;
		this.job = job;
		this.company = company;
		this.isSign = isSign;
		this.codenum = codenum;
	}

	public String getApiUrl() {
		return apiUrl;
	}
	public void setApiUrl(String apiUrl) {
		this.apiUrl = apiUrl;
	}
	public String getuName() {
		return uName;
	}
	public String getuNme() {
		StringBuffer sb=new StringBuffer();
		char []  cr=uName.toCharArray();
		for(int i=0;i<cr.length;i++){
			sb.append("  ").append(cr[i]);
		}
		//System.out.println(sb);
		return sb.toString();
	}
	
	public void setuName(String uName) {
		this.uName = uName;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getSeatNO() {
		return seatNO;
	}
	public void setSeatNO(String seatNO) {
		this.seatNO = seatNO;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getSignTime() {
		return signTime;
	}
	public void setSignTime(String signTime) {
		this.signTime = signTime;
	}
	
	public String getIsSign() {
		return isSign;
	}

	public void setIsSign(String isSign) {
		this.isSign = isSign;
	}

	public String getCodenum() {
		return codenum;
	}

	public void setCodenum(String codenum) {
		this.codenum = codenum;
	}

	@Override
	public String toString() {
		return "uId:"+uId+"===uName:"+uName+"===mobile:"+mobile+"===seatNO:"+seatNO+"=====job:"+job+"===company:"+company+"===signTime:"+signTime+"====apiUrl:"+apiUrl+"====isSign:"+isSign;
	}
	
}